package com.nju.edu.android_app.callback;

import java.io.IOException;

import android.os.Message;

import com.nju.edu.android_app.WriteActivity;
import com.weibo.sdk.android.WeiboException;
import com.weibo.sdk.android.net.RequestListener;

public class WriteListener implements RequestListener{

        private WriteActivity writeActivity;
        
        public WriteListener(WriteActivity wa){
                this.writeActivity=wa;
        }
        
        @Override
        public void onComplete(String response) {
                // TODO Auto-generated method stub
                Message msg = new Message();
                writeActivity.handler.sendMessage(msg);
        }

        @Override
        public void onIOException(IOException e) {
                // TODO Auto-generated method stub
                
        }

        @Override
        public void onError(WeiboException e) {
                // TODO Auto-generated method stub
                
        }

}
